﻿namespace PLCS.Domain.PLCConfigs;

public interface IPLCConfigRepository : IRepository<PLCConfig, Guid>
{
    Task<PLCConfig?> FindByPLCNoAsync(string pLCNo);

    Task<PLCConfig?> FindByAddressAsync(string address);

    Task<IEnumerable<PLCConfig>> GetListWithDetailsAsync();

    Task<IEnumerable<PLCConfig>> GetListInUseWithDetailsAsync();
}